<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Document</title>
  <style>
    
  </style>
</head>
<body>
  
</body>
<script src="./ajax.js"></script>
<script>

  ajax({
    url:"https://www.wanandroid.com/article/list/0/json",
    success(xhr){
      console.log(xhr);
    }
  })
  
</script>
</html>